package ae.pcfc.cldos.online.common.etksdb.dao;

import java.util.List;

import ae.pcfc.cldos.online.common.etksdb.domain.User;

/**
 * 
 * @author arosa
 *
 */
public interface UserDAO {
	
	public User findUserByUserName(String strUserName);
	
	public User findUserAndClientByUserName(String strUserName);
	
	public List<User> getUserList();
	
	public String getTerakheesIdByUsername(String username);
	
	public User finByPrimaryKey(Long id);
	
//	public User getUserByEmail(String email);
	
	public void add(User user);
	
	public void update(User user);
	
	public List<String> getSubUsersEmailsListByCliendId(Long clientId);
	
	public List<String> getMainUsersEmailsListByCliendId(Long clientId);
	
	public List<String> getUsersEmailsListByCliendId(Long clientId);
	
	public String getUserEmailById(Long userId);
	
}
